<!-- directive:title 代码自动化生产 产品 -->
<!-- directive:breadcrumb 自动化 -->
<div class="panel-body">
    <form class="yxf14 bigpadding" name="From">
        <b class="yxf14-title"> <i></i> 下面三项为一组数据 一个填写都必须填写 否则可空不必填 </b>
        <div class="yxf14-box">
            <label class="yxf14-label " ng-class="{must:(frm.cnzzHourCountMax||frm.floatingRate||frm.downRate)}"> CNZZ每小时UV数大于等于 </label>
            <div class="yxf14-control">
                <input type="text" placeholder="请输入整数" style="width:200px;"
                    ng-model="frm.cnzzHourCountMax" name="cnzzHourCountMax"
                    ng-required="(frm.cnzzHourCountMax||frm.floatingRate||frm.downRate)" ui-validate="{error1: 'Rule.isNum($value)'}" ng-maxlength="11" maxlength="12">
                <b ng-show="(From.cnzzHourCountMax.$dirty || From.submitted ) && From.cnzzHourCountMax.$invalid"> {{From.cnzzHourCountMax.$error.required?"必填项":"请输入合理整数"}} </b>
            </div>
        </div>
        <div class="yxf14-box">
            <label class="yxf14-label " ng-class="{must:(frm.cnzzHourCountMax||frm.floatingRate||frm.downRate)}"> 上浮范围 </label>
            <div class="yxf14-control">
                <input type="text" placeholder="请输入0-100整数" style="width:200px;"
                    ng-model="frm.floatingRate" name="floatingRate"
                    ng-required="(frm.cnzzHourCountMax||frm.floatingRate||frm.downRate)" ui-validate="{error1: 'Rule.isNum($value)', error2: '$value>=0&&$value<=100'}" ng-maxlength="3" maxlength="4">
                <b class="note">%</b>
                <b ng-show="(From.floatingRate.$dirty || From.submitted ) && From.floatingRate.$invalid"> {{From.floatingRate.$error.required?"必填项":"请输入0-100整数"}} </b>
            </div>
        </div>
        <div class="yxf14-box">
            <label class="yxf14-label " ng-class="{must:(frm.cnzzHourCountMax||frm.floatingRate||frm.downRate)}"> 下浮范围 </label>
            <div class="yxf14-control">
                <input type="text" placeholder="请输入0-100整数" style="width:200px;"
                    ng-model="frm.downRate" name="downRate"
                    ng-required="(frm.cnzzHourCountMax||frm.floatingRate||frm.downRate)" ui-validate="{error1: 'Rule.isNum($value)', error2: '$value>=0&&$value<=100'}" ng-maxlength="3" maxlength="4">
                <b class="note">%</b>
                <b ng-show="(From.downRate.$dirty || From.submitted ) && From.downRate.$invalid"> {{From.downRate.$error.required?"必填项":"请输入0-100整数"}} </b>
            </div>
        </div>
        <!-- 提交 -->
        <div class="yxf14-box">
            <div class="yxf14-control">
                <button type="button" class="btn btn-danger" ng-click="submitFun($event)">提交表单</button>
                <button type="button" class="btn btn-grey" ng-click="cancelFun()">取消</button>
            </div>
        </div>
    </form>
</div>